
  public class Anonymous {
    public int howMany(String[] headlines, String[] messages) {
  
      HashMap<String,Integer> map = new HashMap<String, Integer>();
      String all = "";
      for (String str: headlines)
        all += str;
      all = all.toLowerCase();
      
      String[] allStrings = all.split(" ");
      for (str:allStrings)
        all += str;
        
      for (int i = 0; i < all.length(); i++ ){
        if(!map.containsKey(all.charAt(i)))
           map.put(all.charAt(i),1);
        else {
           map.put(all.charAt(i),map.get(all.charAt(i))+1)  
        }
       }
       ///////////////////////////////////////////////// 
        
      int count = 0;
      for(String message:messages){
          HashMap<Character: Integer> copy = map.clone();
          
          boolean complete = true;
          for (int i = 0; i < message.length(); i++) {
            if (message.charAt(i) == ' ')
              continue;
            char lower = Character.toLowerCase(message.charAt(i));
          
          
      
            }
        }
    }
  }